{{include file="header.html"}}
{{include file="menu.html"}}
	<!-- banner图 -->
	
    <!-- <div class="banner"><img src="{{$banner.params.image|photo:2300:300:true}}" alt=""></div> -->
    <!-- 轮播 -->
    <div class="container">
    	<div class="wrapper">
    		<div class="news_list">
    			<div class="item">
    				<div class="title">搜索<span>/SEARCH</span></div>
    				<div class="place">当前位置：<a href="{{$smarty.const.__PROJECT__}}">首页</a>->搜索</div>
    				<div class="clear"></div>
    			</div>
    			<!-- 下载专区 -->
    			{{if $result.data}}
    			<div class="box">
					<div class="bo_list policy">
						<div class="li">
							<ul>
							{{foreach item=val from=$result.data}}
							{{if $val.item == 'download'}}
								<li>
									<a href="index.php?app=download&fileDownload&file_path={{$val.params.files}}&file_name={{$val.title}}" class="download">{{$val.title|default:$val.files}}</a>
                                    <span class="date">{{$val.params.time|date_format:"Y-m-d"}}</span><a href="index.php?app=download&fileDownload&file_path={{$val.params.files}}&file_name={{$val.title}}"><button style="cursor:pointer">下载</button></a>
                                </li>
                            {{/if}}
                            {{/foreach}}
							</ul>
						</div>
					</div>
		    	</div>
			    <!-- 列表 -->
				<div class="list">
					<div class="article_list">
						<ul>
						{{foreach item=val from=$result.data}}
						{{if $val.item != 'download'}}
							 <li>
                                <a href="index.php?app=search&act=detail&id={{$val.id}}" target="_blank">
                                    {{if $val.image}}
                                         <div class="imgbox">
                                                <img src="{{$val.image|photo:170:110:true}}" alt="">
                                        </div>
                                    {{/if}}
                                    <div class="article_p {{if !$val.image}}notice{{/if}}">
                                        <div class="title">{{$val.title}}</div>
                                        <p>
                                           {{$val.params.resume}}
                                        </p>
                                        <span>发布时间：{{$val.params.time}}<i class="num">浏览次数：{{$val.hit}}</i></span>
                                        <div class="detail">详情》</div>
                                    </div>
                                    <div class="clear"></div>
                                </a>
                            </li>
                        {{/if}}
                       	{{/foreach}}
						</ul>
					</div>
				</div>
				{{else}}
				<div class="empty">
					<img src="{{$smarty.const.__APP__}}images/empty.png" alt="">
					<span>没有更多内容了...</span>
				</div>
				{{/if}}
				{{include file="page.html"}}
    		</div>
	        <div class="clear"></div>
    	</div>
    </div>
{{include file="footer.html"}}